<template>
  <div>
    <div>child组件 -- {{ title }}</div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: '我是一个child标题',
      a: 1,
      b: 2,
      c: 3
    }
  },
  methods: {
    setTitle(title) {
      this.title = title
      return this.title
    }
  }
}
</script>

<style lang="scss" scoped></style>
